package com.base.app_core.ioc.module;


import com.base.app_core.base.BaseView;
import com.base.app_core.ioc.anno.ActivityScope;

import dagger.Module;
import dagger.Provides;

/**
 * Created by jiansheng.li on 2017/4/26.
 */
@Module
public class BaseModule {
    protected BaseView mView;

    public BaseModule(BaseView mView) {
        this.mView = mView;
    }
    @Provides
    @ActivityScope
    public BaseView provideView() {
        return mView;
    }
}
